<?php
$this->breadcrumbs=array(
        'Requests',
);

$this->menu=array(
        array('label'=>'Доступные темы', 'url'=>array('avaliableRequests')),
        array('label'=>'Выбранные темы', 'url'=>array('choosedRequests')),
        array('label'=>'Одобренные темы', 'url'=>array('fetchedRequests')),
        array('label'=>'Итоговая тема', 'url'=>array('finalRequests')),
);

?>

<h1>Личная информация: </h1>
<?php
$this->widget('zii.widgets.CDetailView', array(
        'data'=>$student,
        'attributes'=>array(
                'lastName',
                'firstName',
                'middleName',
                'email',
                'year'

        ),
));?>
<?php if(isset ($coursework)){?>
<div class="view">

	<b><?php echo CHtml::encode($coursework->getAttributeLabel('name')); ?>:</b>
	<?php echo CHtml::encode($coursework->name); ?>
	<br />

	<b><?php echo CHtml::encode($coursework->getAttributeLabel('year')); ?>:</b>
	<?php echo CHtml::encode($coursework->year); ?>
	<br />

        <b><?php echo CHtml::encode($coursework->getAttributeLabel('professor.email')); ?>:</b>
	<?php echo CHtml::encode($coursework->professor->email); ?>
	<br />        

</div>
<?php }?>